<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" disabled name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板ID')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-template_id" data-rule="required" class="form-control" name="row[template_id]" type="text" value="{$row.template_id|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板内容')}:</label>
        <div class="col-xs-12 col-sm-8">
            <dl class="fieldlist" data-name="service" data-listidx="0">
                <dd>
                    <ins style="width:100px;">字段</ins>
                    <ins style="width:200px;">参数</ins>
                </dd>
                {volist name="row.content" id="vo"}
                <dd class="form-inline" id="field_1">
                    <input type="text" readonly value="{$vo['text']}" class="form-control" style="width: 100px;">
                    <div class="input-group">
                        <input type="text" name="row[field][{$key}]" value="{$vo['field']}" class="form-control" style="width: 200px;">
                    </div>
                </dd>
                {/volist}

            </dl>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
